<template>
  <div class="container">
    <Category title="饮料">
      <template scope="atguigu">
        <ul>
          <li v-for="(item, index) in atguigu.drinks" :key="index">{{ item }}</li>
        </ul>
      </template>
    </Category>

    <Category title="饮料">
      <template scope="atguigu">
        <ol>
          <li v-for="(item, index) in atguigu.drinks" :key="index">{{ item }}</li>
        </ol>
      </template>
    </Category>

    <Category title="饮料">
      <template scope="atguigu">
        <h4 v-for="(item, index) in atguigu.drinks" :key="index">{{ item }}</h4>
      </template>
    </Category>

  </div>
</template>

<script>
import Category from "./components/Category";

export default {
  name: 'App',
  components: {Category}
}
</script>

<style>
.container {
  display: flex;
  justify-content: space-around;
}
</style>